package com.wlkj.action.activity;

import com.jfinal.core.Controller;
import com.jfinal.kit.HttpKit;
import com.wlkj.config.UrlKit;

public class ActivityAction extends Controller {

	public void collect() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.collect, param);
		renderJson(result);
	}

	public void recallCollect() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.recallCollect, param);
		renderJson(result);
	}

	public void collectList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.collectList, param);
		renderJson(result);
	}

	public void praise() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.praise, param);
		renderJson(result);
	}

	public void recallPraise() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.recallPraise, param);
		renderJson(result);
	}

	public void praiseList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.praiseList, param);
		renderJson(result);
	}

	public void reply() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.reply, param);
		renderJson(result);
	}

	public void replyList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.replyList, param);
		renderJson(result);
	}

	public void removeReply() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.removeReply, param);
		renderJson(result);
	}

	public void xfcjPublish() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.xfcjPublish, param);
		renderJson(result);
	}

	public void xfcjList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.xfcjList, param);
		renderJson(result);
	}

	public void xfcjDetail() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.xfcjDetail, param);
		renderJson(result);
	}

	public void isHaveXfcj() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.isHaveXfcj, param);
		renderJson(result);
	}
	
	public void isAdminHaveActivity() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.isAdminHaveActivity, param);
		renderJson(result);
	}
}
